package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "ANT_MONEY")
public class Money extends BaseObject {
	@MappingColumn(columnName = "MONEY_ID", columnPk = true, columnLength = 32)
	private String moneyId;

	@MappingColumn(columnName = "MONEY_IN_OUT")
	private Integer moneyInOut;

	@MappingColumn(columnName = "MONEY_TYPE")
	private Integer moneyType;

	@MappingColumn(columnName = "MONEY_AMOUNT")
	private Integer moneyAmount;

	@MappingColumn(columnName = "MONEY_REMARK")
	private String moneyRemark;

    @MappingColumn(columnName = "MONEY_STATE")
    private Integer moneyState;

	@MappingColumn(columnName = "MONEY_CREATE_TIME")
	private Date moneyCreateTime;

	@MappingColumn(columnName = "TASK_ID")
	private String taskId;

	@MappingTable(tableName = "ANT_TASK")
	private Dept task;

	@MappingColumn(columnName = "DEPT_ID")
	private String deptId;

	@MappingTable(tableName = "ANT_DEPT")
	private Dept dept;

	public String getMoneyId() {
		return moneyId;
	}

	public void setMoneyId(String moneyId) {
		this.moneyId = moneyId;
	}

	public Integer getMoneyInOut() {
		return moneyInOut;
	}

	public void setMoneyInOut(Integer moneyInOut) {
		this.moneyInOut = moneyInOut;
	}

	public Integer getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(Integer moneyType) {
		this.moneyType = moneyType;
	}

	public Integer getMoneyAmount() {
		return moneyAmount;
	}

	public void setMoneyAmount(Integer moneyAmount) {
		this.moneyAmount = moneyAmount;
	}

	public String getMoneyRemark() {
		return moneyRemark;
	}

	public void setMoneyRemark(String moneyRemark) {
		this.moneyRemark = moneyRemark;
	}

	public Integer getMoneyState() {
		return moneyState;
	}

	public void setMoneyState(Integer moneyState) {
		this.moneyState = moneyState;
	}

	public Date getMoneyCreateTime() {
		return moneyCreateTime;
	}

	public void setMoneyCreateTime(Date moneyCreateTime) {
		this.moneyCreateTime = moneyCreateTime;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public Dept getTask() {
		return task;
	}

	public void setTask(Dept task) {
		this.task = task;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}
}
